package com.ruoyi.platform.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 平台更新对象 tb_platform
 * 
 * @author ruoyi
 * @date 2025-08-18
 */
public class TbPlatform extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 平台ID */
    private Long platformId;

    /** TV平台名称 */
    @Excel(name = "TV平台名称")
    private String platformName;

    /** TV平台版本号 */
    @Excel(name = "TV平台版本号")
    private String platformVersions;

    /** versincode */
    @Excel(name = "versincode")
    private String platformNum;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setPlatformId(Long platformId) 
    {
        this.platformId = platformId;
    }

    public Long getPlatformId() 
    {
        return platformId;
    }

    public void setPlatformName(String platformName) 
    {
        this.platformName = platformName;
    }

    public String getPlatformName() 
    {
        return platformName;
    }

    public void setPlatformVersions(String platformVersions) 
    {
        this.platformVersions = platformVersions;
    }

    public String getPlatformVersions() 
    {
        return platformVersions;
    }

    public void setPlatformNum(String platformNum) 
    {
        this.platformNum = platformNum;
    }

    public String getPlatformNum() 
    {
        return platformNum;
    }

    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("platformId", getPlatformId())
            .append("platformName", getPlatformName())
            .append("platformVersions", getPlatformVersions())
            .append("platformNum", getPlatformNum())
            .append("uploadTime", getUploadTime())
            .append("updateTime", getUpdateTime())
            .append("userId", getUserId())
            .toString();
    }
}
